package cn.cymym.service;



import java.util.List;

import cn.cymym.dao.ArtistDao;
import cn.cymym.dao.ArtistDaoImpl;
import cn.cymym.domain.Arist;

public class ArtistService {
	 private ArtistDao artistDao = new ArtistDaoImpl();
	 public void addArtistInfo(Arist arist) {
		artistDao.addArtistInfo(arist); 
	 }
	 public void addImg(String imgHeader, String imgPath, String ArtistNum) {
		 artistDao.addImg(imgHeader, imgPath, ArtistNum);
	 }
	 public List<Arist> selectArtist(){
		 return artistDao.selectArtist();
	 }

}
